<template>
	<view class="">
		<view class="refresh-con column center" @tap="onRefreshClick">
			<image src="/static/img/re.png" mode="" class="refresh-icon"></image>
			<text class="refresh-txt">刷新</text>
		</view>
	</view>
</template>

<script>
	export default {
		methods:{
			onRefreshClick(){
				this.$util.throttle(()=>{
					this.$emit('refresh');
				})
			}
		}
	}
</script>

<style scoped>
	.refresh-con{
		width: 64upx;
		height: 64upx;
		background: #FFFFFF;
		border-radius: 50%;
		position: fixed;
		bottom: 90upx;
		right: 44upx;
		z-index:999;
	}
	.refresh-icon{
		width:32upx;
		height: 32upx;
	}
	.refresh-txt{
		font-size:16upx;
	}
</style>
